home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1994 November: Tool Chest / Dev.CD Nov 94.toast / Tool Chest / Testing & Debugging / General tools / bugInfo macro / bugInfo README < prev   
Encoding:
Text File  |  1993-09-17  |  887 b   |  11 lines  |  [TEXT/ttxt]

  1. bugInfo MacsBug macro
  2. from Apple Computer, Inc.
  3.  
  4. bugInfo is a macro you can execute within MacsBug to give you the most commonly used  debugging info to you right away with one command.  Use it as your first command when MacBug comes up to get the scoop by typing "bugInfo".
  5.  
  6. To install the macro, copy the bugInfo resource from the file "bugInfo macro" and paste it into a 'mxbm' resource in your own Debugging Prefs file with ResEdit.
  7.  
  8. The command equivalent of this macro is:
  9. wh; how; ip; sc; dm pc - 20 100, hc; td; drvr; file
  10.  
  11. What you will see appear is where (at what location in memory) you crashed or interrupted, how (by bus error, system error, interrupt) you got into MacsBug, a disassembly of code around the entry point, a memory dump in the vacinity of the program counter, a heap check, a display of CPU registers, a list of active drivers, and information on open files.